<?php

//调试
function dd($var){
    echo '============='.PHP_EOL;
    var_dump($var);
    echo 'debug';
    exit;
}


function loginExpireTime()
{
    $phpTime =strtotime(date('Y-m-d H:i:s'));
    $expireTime = $phpTime + 5*24*3600;
    $expireDate = date('Y-m-d H:i:s',$expireTime);
    return $expireDate;
}

function loginIsValid($time)
{

}